<fieldset>
  <legend>{#PLIGG_Visual_Register_Register#}</legend>
  <form action="{$URL_register}" method="post" id="thisform">

    {if isset($form_username_error)}
        { foreach value=error from=$form_username_error }
        <br /><span class="error">{$error}</span><br />
        { /foreach }
    {/if}

    <label>{#PLIGG_Visual_Register_Username#}:</label>
    <input type="text" name="reg_username" id="reg_username"
           value="{if isset($reg_username)}{$reg_username}{/if}"
           size="25" tabindex="30" maxlength="32" autocomplete="off" />
    <br />

    {if isset($form_email_error)}
        { foreach value=error from=$form_email_error }
        <br /><span class="error">{$error}</span><br />
        { /foreach }
    {/if}

    <label>{#PLIGG_Visual_Register_Email#}:</label>
    <input type="text" id="reg_email" name="reg_email"
           value="" size="25" tabindex="32" autocomplete="off" />
    <br />

    <label>Verify email:</label>
    <input type="text" id="reg_email2" name="reg_email2"
           value="" size="25" tabindex="32" autocomplete="off" />
    <br />

    {if isset($form_password_error)}
        { foreach value=error from=$form_password_error }
            <br /><span class="error">{$error}</span><br />
        { /foreach }
    {/if}

    <label>{#PLIGG_Visual_Register_Password#}:</label>
    <input type="password" id="reg_password" name="reg_password"
           value="" size="25" tabindex="34" autocomplete="off" />
    <br />

    <label>{#PLIGG_Visual_Register_Verify_Password#}: </label>
    <input type="password" id="reg_verify" name="reg_password2"
           value="" size="25" tabindex="35" autocomplete="off" />
    <br />

    {if isset($register_step_1_extra)}
        <br />
        {$register_step_1_extra}
        <br />
    {/if}

    <input type="submit" name="submit"
           value="{#PLIGG_Visual_Register_Create_User#}"
           class="log2" tabindex="36" />
  </form>
</fieldset>
